import { ref } from 'vue'
export const useWeight = () => {
    const weight = ref(60)
    const eatFood = () => {
        weight.value += 1
    }
    const doMotion = () => {
        weight.value -= 2
    }

    return {
        weight,
        eatFood,
        doMotion
    }
}